package com.zking.entityClass;

/**
 * DaySell
 * 
 * @author longl
 *
 */
public class DaySell {

	private String bookName;// 书名
	private int countNums;// 库存数量
	private double pricing;// 定价
	private double discount;// 折扣
	private double discountPrice;// 折扣后价格
	private int salesNums;// 销售数量
	private double subtotal;// 小计
	private int bookId;// 书号
	private String listnumber;// 单号
	private int id;

	public DaySell(String bookName, int countNums, double pricing, double discount, double discountPrice, int salesNums,
			double subtotal, int bookId, String listnumber, int id) {
		super();
		this.bookName = bookName;
		this.countNums = countNums;
		this.pricing = pricing;
		this.discount = discount;
		this.discountPrice = discountPrice;
		this.salesNums = salesNums;
		this.subtotal = subtotal;
		this.bookId = bookId;
		this.listnumber = listnumber;
		this.id = id;
	}

	@Override
	public String toString() {
		return "DaySell [bookName=" + bookName + ", countNums=" + countNums + ", pricing=" + pricing + ", discount="
				+ discount + ", discountPrice=" + discountPrice + ", salesNums=" + salesNums + ", subtotal=" + subtotal
				+ ", bookId=" + bookId + ", listnumber=" + listnumber + ", id=" + id + "]";
	}

	public DaySell() {
		// TODO Auto-generated constructor stub
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public int getCountNums() {
		return countNums;
	}

	public void setCountNums(int countNums) {
		this.countNums = countNums;
	}

	public double getPricing() {
		return pricing;
	}

	public void setPricing(double pricing) {
		this.pricing = pricing;
	}

	public double getDiscount() {
		return discount;
	}

	public void setDiscount(double discount) {
		this.discount = discount;
	}

	public double getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(double discountPrice) {
		this.discountPrice = discountPrice;
	}

	public int getSalesNums() {
		return salesNums;
	}

	public void setSalesNums(int salesNums) {
		this.salesNums = salesNums;
	}

	public double getSubtotal() {
		return subtotal;
	}

	public void setSubtotal(double subtotal) {
		this.subtotal = subtotal;
	}

	public int getBookId() {
		return bookId;
	}

	public void setBookId(int bookId) {
		this.bookId = bookId;
	}

	public String getListnumber() {
		return listnumber;
	}

	public void setListnumber(String listnumber) {
		this.listnumber = listnumber;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

}
